package com.jie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jie.dto.CommentDTO;
import com.jie.entity.Comment;

import java.util.List;

/**
 * <p>
 * 论坛评论表 服务类
 * </p>
 *
 * @author jie
 * @since 2024-05-29
 */
public interface ICommentService extends IService<Comment> {

    Comment checkCommentById(Integer commentId);

    Boolean deleteCommentById(Integer commentId);

    Boolean addComment(CommentDTO commentDto);

    List<CommentDTO> getCommentList();
}
